<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="my" tagdir="/WEB-INF/tags"%>
<html>
<head>
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/resources/styles/main.css" />
<title>Home</title>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/resources/js/jquery-1.8.0.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/resources/js/common-utils.js"></script>
<script type="text/javascript"
	src="http://underscorejs.org/underscore-min.js"></script>
</head>
<body>
	<my:header />
	<div id="content">
		<div id="main">
			<h3>Hello, please enter the SVN location URL</h3>
			<c:if test="${not empty errors}">
				<div id="errors">
					<c:forEach items="${errors}" var="error">
						<p>
							<span style="color: red; font-weight: bold;">${error}</span>
						</p>
					</c:forEach>
				</div>
			</c:if>
			<div id="svnUrlInput">
				<form action="<c:url value='/svn/checkUrl' />" method="POST"
					name="svnUrlForm" id="svnUrlForm">
					<input name="svnUrl" type="text" /> <input id="searchButton"
						type="submit" value="Check URL" />
				</form>
			</div>
		</div>

		<my:sideMenu />
	</div>

	<my:footer />
</body>
</html>
